{% include "header.html" %}

<div id="wrapper">
	<div id="content-wrapper">
		<div id="content">
			{% block content %} {% if form.has_errors %}
			<p>用户名和密码不匹配。请重试。</p>
			{% endif %}
			<form method="post" action="." class="myform">
				<table>
					<tr>
						<td><span lang="zh-cn">用户名</span><label for="id_username">:</label></td>
						<td>{{ form.username }}</td>
					</tr>
					<tr>
						<td><label for="id_password"><span lang="zh-cn">密码</span>:</label></td>
						<td>{{ form.password }}</td>
					</tr>
				</table>
				<input type="submit" value="登录"  />
				<input type="hidden" name="next" value="{{ next }}" />
			</form>
			{% endblock %} </div>
	</div>
</div>

{% include "footer.html" %}